4 research outputs found
Monitorización de sistemas con Bluemix
Hoy en día todos los sistemas informáticos generan grandes cantidades de información en los
llamados registros o logs de funcionamiento e incidencias, que debido al gran tráfico de datos y al
siempre creciente número de dispositivos llegan a alcanzar tamaños de varios Gigabytes, o incluso
Teras. El análisis de estos archivos resulta muy útil, y muchas veces esencial, de cara a detectar
comportamientos anómalos en el sistema o accesos no autorizados, prever posibles fallos futuros
o simplemente estudiar el rendimiento del equipo. Sin embargo, el abultado volumen de datos
previamente mencionado, así como la falta de una estructura clara y común en estos registros,
hacen del análisis de logs una tarea tediosa y complicada.
Entre las nuevas tecnologías que están creciendo últimamente se encuentran las herramientas
Big Data y la computación en la nube. Las técnicas de Big Data son aquellas que se emplean
en el análisis y tratamiento de grandes conjuntos de datos desestructurados que no puede ser
manejados con herramientas convencionales, y son cada vez más relevantes debido al exponencial
aumento de información digital. Por otra parte, la computación en la nube se encarga de ofrecer
servicios a través de Internet, que pueden ser usados de manera fácil y transparente por los
usuarios. Una de estas plataformas en la nube es IBM Bluemix, que ofrece herramientas y
servicios para desarrolladores.
El objetivo de este TFG ha sido desarrollar una aplicación de análisis de logs que sea fácil
e intuitiva de utilizar para un usuario sin conocimientos avanzados en informática, y que al
estar basada en tecnologías en la nube de Bluemix no haga necesario poseer un equipo con unos
requisitos especializados.
Para el desarrollo de la aplicación antes mencionada ha sido necesario tener conocimiento
acerca del análisis de logs y las técnicas y herramientas ya existentes, así como sobre las posibilidades
de la computación en la nube, especialmente del entorno IBM Bluemix, que es el que
ha sido utilizado. Para las distintas partes de la aplicación, dedicadas a la recolección, parseado,
almacenamiento, filtrado y visualización de la información, se han aprendido y utilizado diversas
tecnologías (DB2, Spring, Hadoop, etc) y lenguajes (Java, JavaScript, HTML, etc).Nowadays every computer system generates huge information quantities as operations and
incidences logs, that due to the great data traffic and the always growing number of devices can
reach sizes of several Gigabytes, and even Terabytes. The analysis of these files is really useful,
and sometimes even essential, when we want to detect anomalous behaviours in the system or
unauthorized accesses, prevent possible future failures or simply study the performance of a
machine. Nevertheless, the previously mentioned large volume of data, among the lack of a clear
and common log structure, make log analysis a tedious and complicated task.
Among the numerous technologies emerging these days we can find Big Data and Cloud
Computing tools. Big Data techniques are those used for the analysis and treatment of huge
unestructured data sets that can not be handled by conventional tools, and are becoming more
relevant every day as the amount of digital information increases. On the other hand, Cloud
Computing offers services through the Internet, that can be used easily and transparently by the
users. One of these cloud platforms is IBM Bluemix, that offers tools and services for developers.
The goal of this Bachelor Thesis was to develop a log analysis application, intuitive and easy
to use for an user without advanced computer knowledge, and since it is based in Bluemix cloud
technologies, it does not require to be run in a machine with any special requirements.
For the development of the aforementioned application, knowledge about Log Analysis, and
the techniques and tools used for it, was needed, and also about the possibilities of Cloud
Computing, specially the IBM Bluemix environment that was used. For the application different
parts, dedicated to gather, parse, store, filter and show the information, multiple technologies
were learnt and used (DB2, Spring, Hadoop, etc), as well as different programming languages
(Java, JavaScript, HTML, etc)
Real-Time software technology and its use in experimental neuroscience
Debido a las complicadas dinámicas no lineales de los sistemas neuronales así como a la incapacidad
existente a la hora de observar más de unas pocas de las señales que participan en
dichas dinámicas de forma simultánea, el estudio de estos sistemas es muy complejo. Además,
el paradigma tradicional de trabajo es el de estímulo-respuesta, en el cual se registra el comportamiento
del sistema al responder a ciertos estímulos de entrada y se estudian estos resultados a
posteriori, lo que impide caracterizar completamente la dinámica de su funcionamiento. Las tecnologías
de ciclo cerrado permiten superar estas adversidades mediante la observación, el control
y la interacción bidireccional con estos elementos neuronales. Sin embargo, la implementación
de este tipo de tecnologías no es tan sencilla debido a que en muchos casos la detección y estimulación
del sistema biológico debe hacerse de acuerdo a ciertas restricciones temporales precisas.
Esta capacidad del sistema para ejecutar tareas y responder a eventos externos (síncronos o
asíncronos) en una determinada franja de tiempo es lo que se conoce como funcionamiento en
"tiempo real".
Los ordenadores personales actuales poseen la suficiente potencia de procesamiento como
para cumplir con los requisitos de tiempo real, sin embargo debido al funcionamieno de los
planificadores de los sistemas operativos de propósito general (Windows, Linux, MacOS), que
no puede ser controlado por el usuario, no existe manera de asegurar que un proceso de tiempo
real se ejecutará sin interrupciones y cumpliendo con las restricciones temporales. Por otra
parte, las implementaciones en hardware pueden cumplir con dichas restricciones temporales
pero son menos programables. Por ello, existen también los llamados sistemas operativos de
tiempo real (RTOS). Sin embargo, esta tecnología es a menudo difícil de instalar, configurar y
manejar. Estas dificultades relativas a los RTOS provocan que muchos equipos y laboratorios
dedicados a la neurociencia no vean viable invertir tiempo y esfuerzo en dominar esta tecnología
para realizar experimentos de ciclo cerrado.
En este trabajo se realiza una comparativa cuantitativa de las herramientas para tiempo
real RTAI, Xenomai y Preempt-RT, de acuerdo a su rendimiento así como su usabilidad y accesibilidad,
en la que se compara sus valores de latencia y la variabilidad (jitter) de estos. La
comparativa se lleva a cabo en el contexto del uso de la tecnología de tiempo real en neurociencia
experimental. Además se ha desarrollado una librería de modelos neuronales y sinápticos
en tiempo real para su uso en circuitos híbridos, con neuronas vivas y modelos artificiales, y
experimentos de ciclo cerrado. El correcto funcionamiento de dicha librería ha sido probado
mediante su integración en circuitos híbridos, tanto con neuronas vivas como electrónicas, así
como con el manejo de un motor de pasos para la estimulación mecánica.Due to the complicated non linear dynamics of neuronal systems, as to the existing inability
to observe simultaneously more than a few signals of the ones involved in said dynamics, the
study of these systems is quite complex. Moreover, traditionally the working paradigm is the
stimulus-response one, where the system behaviour is recorded while it responds to certain input
stimuli and the results are studied afterwards, thus preventing the complete characterization of
the behavioural dynamics. Closed-loop technologies allow to overcome these difficulties through
online observation, control and bidirectional interaction with these neural elements. Nevertheless,
implementing this kind of technologies is not an easy task because in many cases the
detection and stimulation must be done within some precise temporal boundaries. This ability
of the system to complete tasks and respond to external events (synchronous and asynchronous)
within a determined time slot is known as "real-time" performance.
Actual computers have enough processing power and speed to comply with real-time requirements,
but due to the general purpose operating systems (Windows, Linux, MacOS) schedulers’
behaviour, which can not be controlled by the user, there is no way to ensure that a real-time
process will be run without interruptions and respecting the temporal restrictions. On the other
hand, hardware implementations can fullfil such boundaries, but are also less programmable.
For this reason the real-time operating systems (RTOS) exist. However, this technology is often
difficult to install, configure and use. This RTOS-related complications provoke that many neuroscience
researching teams and laboratories do not consider feasible to spend time and effort
to implement this tools for closed-loop experiments.
In this work a quantitative comparison between the real-time solution RTAI, Xenomai and
Preempt-RT is carried out, focusing on their performance, usability and accessibility, by comparing
their latency values and jitter. The comparison done in the context of real-time software
technology usage in experimental neuroscience. Furthermore, a real-time neuron and synapse
model library was developed for its use in hybrid circuits and closed-loop experiments. To validate
the correct functioning of said library it was used in hybrid circuits, with both electronic
and living neurons, and to control a stepper motor for mechanical stimulation
Automatized offline and online exploration to achieve a target dynamics in biohybrid neural circuits built with living and model neurons
Biohybrid circuits of interacting living and model neurons are an advantageous means to study neural dynamics and to assess the role of specific neuron and network properties in the nervous system. Hybrid networks are also a necessary step to build effective artificial intelligence and brain hybridization. In this work, we deal with the automatized online and offline adaptation, exploration and parameter mapping to achieve a target dynamics in hybrid circuits and, in particular, those that yield dynamical invariants between living and model neurons. We address dynamical invariants that form robust cycle-by-cycle relationships between the intervals that build neural sequences from such interaction. Our methodology first attains automated adaptation of model neurons to work in the same amplitude regime and time scale of living neurons. Then, we address the automatized exploration and mapping of the synapse parameter space that lead to a specific dynamical invariant target. Our approach uses multiple configurations and parallel computing from electrophysiological recordings of living neurons to build full mappings, and genetic algorithms to achieve an instance of the target dynamics for the hybrid circuit in a short time. We illustrate and validate such strategy in the context of the study of functional sequences in neural rhythms, which can be easily generalized for any variety of hybrid circuit configuration. This approach facilitates both the building of hybrid circuits and the accomplishment of their scientific goalThis research was supported by grants AEI/FEDER
PID2021-122347NB-100, PGC2018-095895-B-I00, and PID2020-
114867RB-I00 (funded by MCIN/AEI/10.13039/501100011033 and
ERDF - "A way of making Europe”
Automatic Adaptation of Model Neurons and Connections to Build Hybrid Circuits with Living Networks
Hybrid circuits built by creating mono- or bi-directional interactions among living cells and model neurons and synapses are an effective way to study neuron, synaptic and neural network dynamics. However, hybrid circuit technology has been largely underused in the context of neuroscience studies mainly because of the inherent difficulty in implementing and tuning this type of interactions. In this paper, we present a set of algorithms for the automatic adaptation of model neurons and connections in the creation of hybrid circuits with living neural networks. The algorithms perform model time and amplitude scaling, real-time drift adaptation, goal-driven synaptic and model tuning/calibration and also automatic parameter mapping. These algorithms have been implemented in RTHybrid, an open-source library that works with hard real-time constraints. We provide validation examples by building hybrid circuits in a central pattern generator. The results of the validation experiments show that the proposed dynamic adaptation facilitates closed-loop communication among living and artificial model neurons and connections, and contributes to characterize system dynamics, achieve control, automate experimental protocols and extend the lifespan of the preparationsThis work was supported by MINECO/ FEDER PGC2018-095895-B-I00, DPI2015-65833-P, TIN2017-84452-R and ONRG grant N62909-14-1-N27